using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Granite.Axml;

namespace Toon.Views
{
	[Activity(Label = "NewCharacterView")]
	public class NewCharacterView :  BindingActivity<PrimaryViewModel>
	{
		protected override void OnCreate(Bundle bundle)
		{
			base.OnCreate(bundle);

		}

		protected override void OnResume()
		{
			base.OnResume();

			SetContentView(Resource.Layout.Character);


			BindText(Resource.Id.ExtraText, ViewModel, "CurrentCharacter.Species", BindingMode.OneWay);
			var textBox2 = FindViewById<TextView>(Resource.Id.ExtraText2);
			textBox2.Text = ViewModel.CurrentCharacter.Species;
		}
	}
}